
package com.encon.projecttracker.server.util;


import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ContextUtil
{
	private static ApplicationContext context = null;

	private ContextUtil(  )
	{
		super();
	}
	
	public static ApplicationContext getContext( ) 
	{
		// Load up our Application context
		
		if (context == null) 
		{
			context = new ClassPathXmlApplicationContext("pat-applicationContext.xml") ;
		}
		
		return context;
	}
}
